<template>
	<view class="container">
		<u-navbar title='付款记录' leftIconColor="#1E272E" :titleStyle="{fontWeight:700,fontSize:'32rpx',color:'#000000'}"
			bgColor="#fff" :auto-back="true"></u-navbar>
		<view class="content">
			<view class="top">
				<image style="width: 75rpx;height: 75rpx;"
					src="https://qiniushelves.jiachuangnet.com/renovation/img/V3991171742537371044.png">
				</image>
				<view style="margin-top: 15rpx;">【拉卡拉商户】</view>
				<view style="color: #f56c6c; margin-top: 30rpx;">-￥{{detailData.payAmount}}</view>
			</view>
			<view class="end">
				<view class="v"><text class="s">当前状态</text><text class="p">支付成功</text></view>
				<view class="v"><text class="s">支付时间</text><text class="p">{{detailData.payTime}}</text></view>
				<view class="v"><text class="s">收单机构</text><text class="p">耀一科技有限公司</text></view>
				<view class="v"><text class="s">支付方式</text><text class="p">{{detailData.payMethod}}</text></view>
				<view class="v"><text class="s">交易单号</text><text class="p">{{detailData.outOrderNo}}</text></view>

			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				detailData: {}
			}
		},
		onLoad(option) {
		this.detailData=JSON.parse(option.data)
		},
		onShow() {
			console.log(this.detailData);
		}
	}
</script>

<style lang="less" scoped>
	.content {
		width: 750rpx;
		position: absolute;
		top: 195rpx;
		left: 50%;
		transform: translate(-50%, 0);
	}

	.top {
		display: flex;
		height: 300rpx;
		flex-direction: column;
		align-items: center;
		border-bottom: 2rpx solid Gainsboro;
	}

	.end {
		padding: 40rpx 0;
		border-bottom: 2rpx solid Gainsboro;

		.v {
			display: flex;

			text {
				display: block;
				margin-top: 15rpx
			}

			;

			.s {
				color: darkgray;
				font-size: 26rpx;
				margin-left: 50rpx;
			}

			.p {
				margin-left: 60rpx;
				font-size: 26rpx;
			}
		}
	}
</style>